<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="./lodash.min.js"></script>
    <script>
        const a = {
        num: 1,
        hobbit: ['学习', '看视频', '敲代码'],
        student: {
          uname: '杨桑',
          age: '18',
          hobbit: ['打篮球', '学习', '看视频', '敲代码'],
        },
        x: undefined,
      }
      let b =_.cloneDeep(a)
      console.log(a);
      console.log(b);
    </script>
</body>
</html>